package com.ifast.integral.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@TableName("TB_INTEGRAL_CONFIG")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class IntegralConfig implements Serializable {
	
	private static final long serialVersionUID = -4829274921048665325L;
	/** 主键 */
    @TableId(type= IdType.UUID)
    private String id;
    private String  deptId        ;   //所属单位           
    private String  dwCode        ;   //所属单位           
    private Integer open 			 ;	// 是否开启 0关闭，1开启
    private Integer loginMin         ;		//每次获得积分       
    private Integer loginMax         ;		//可获得最大额度    
    private Integer oneWeekMin       ;   //每周一答 
    private Integer oneWeekR       ;   //每周一答
    private Integer oneWeekMax       ;   //每周一答          
    private Integer oneDayMin        ;  	//每日一答         
    private Integer oneDayR        ;  	//每日一答         
    private Integer oneDayMax        ;  	//每日一答         
    private Integer smartMin         ;		//智能答题         
    private Integer smartR         	 ;		//智能答题  
    private Integer smartMax         ;		//智能答题         
    private Integer learnMin         ;		//学习积分         
    private Integer learnTime         ;		//学习积分         
    private Integer learnMax         ;		//学习积分         
    private Integer readMin          ;	//阅读积分           
    private Integer readTime          ;	//阅读积分      
    private Integer readMax          ;	//阅读积分           
    private Integer formalMin        ; 	//专题考试积分       
    private Integer formalR          ; 	//专题考试积分       
    private Integer formalMax        ; 	//专题考试积分       
    private Integer shareMin         ;		//分享积分         
    private Integer shareMax         ;		//分享积分         
    private Integer photoMin         ;		//照片上传         
    private Integer photoMax         ;		//照片上传         
    
    /**创建时间*/
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    /**创建人*/
    @TableField(fill = FieldFill.INSERT)
    private String createId;
    /**创建人*/
    @TableField(fill = FieldFill.UPDATE)
    private String updateId;
    /**创建人*/
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
     
}
